package com.mty.config;

import com.mty.rule.MyRule;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.bind.annotation.CrossOrigin;

/**
 * @author ：Teacher马（2508531326@qq.com）
 * @date ：Created in 2022/11/20 19:21
 * @description：
 * @modified By：
 * @version:
 */
@Configuration
public class RuleConfig {
    @Bean
    public MyRule myRule(){
        return  new MyRule();
    }
}
